//
//  LWDetailModel.m
//  LWShopItem
//
//  Created by mac on 17/3/31.
//  Copyright © 2017年 LWShop.com. All rights reserved.
//

#import "LWDetailModel.h"

@implementation LWDetailModel

+ (instancetype)detilWtihDict:(NSDictionary *)dict
{
    LWDetailModel *detilModel = [[LWDetailModel alloc]init];
    
    [detilModel setValuesForKeysWithDictionary:dict];
    
    
    return detilModel;
    
}

//防止崩溃
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

//- (NSString *)description
//{
//    return [NSString stringWithFormat:@"%@-%ld-%@-%@-%@",self.discount,self.orderCount,self.goods_id,self.market_price,self.shop_price];
//}
- (NSString *)description
{
    return [NSString stringWithFormat:@"-%ld-",self.isSeleted];
}
@end
